package com.itheima.edu.info.manager.dao;

import com.itheima.edu.info.manager.domain.Teacher;

public interface BaseTeacherDao {

    //实现添加学生操作
    public boolean addTeacher(Teacher teacher) ;

    public Teacher[] findAllTeachers();

    //删除
    public void deleteTeacher(String deleteId);

    //查询学号所在的位置
    public int getIndex(String deleteId) ;

    public void updateTeacher(String updateId, Teacher teacher);
    public void deleteTeacherByIndex(int index);
}
